From bd400b09576afba512b94a6f09d65b73f64bdb45 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 7 Apr 2012 12:55:30 +0200 Subject: [PATCH] win32: Move variable declarations into #if block --- gtk/gtkwin32theme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkwin32theme.c b/gtk/gtkwin32theme.c index 87bcff52c9..0f385f9b9d 100644 --- a/gtk/gtkwin32theme.c +++ b/gtk/gtkwin32theme.c @@ -215,7 +215,6 @@ _gtk_win32_theme_part_create_surface (HTHEME theme, cairo_t *cr; int x_offs; int y_offs; - int i, j; #ifdef G_OS_WIN32 gboolean has_alpha; HDC hdc; @@ -274,6 +273,7 @@ _gtk_win32_theme_part_create_surface (HTHEME theme, { cairo_surface_t *img = cairo_win32_surface_get_image (surface); guint32 *data = (guint32 *)cairo_image_surface_get_data (img); + int i, j; GdiFlush (); for (i = 0; i < width; i++) -- 2.30.2